package com.ayou.eggguard.farm.service;

import com.ayou.common.utils.PageBean;
import com.ayou.eggguard.farm.pojo.Announce;

public interface AnnounceService {
    void add(Announce announce);

    void delete(Integer id);

    void updateAnnounce(Announce announce);

    PageBean<Announce> getAnnounceByPage(Integer pageNum, Integer pageSize, String title);

    void updateAnnounceStatus(Integer id);
}
